Skip to content

Update rust-lightning to use default_value_vec#850

Draft
carlaKC wants to merge 2 commits intolightningdevkit:mainfrom
carlaKC:macro-update
Draft

Update rust-lightning to use default_value_vec#850
carlaKC wants to merge 2 commits intolightningdevkit:mainfrom
carlaKC:macro-update

Conversation

@carlaKC
Copy link
Copy Markdown
Contributor

@carlaKC carlaKC commented Mar 26, 2026

Depends on #4507

carlaKC added 2 commits March 26, 2026 16:01
Update to be able to write vectors of HTLCLocator for PaymentForwarded.
Note that we still don't expect to receive multiple outgoing HTLCs
because trampoline has not yet been enabled, but we lay the groundwork
here.
@ldk-reviews-bot
Copy link
Copy Markdown

👋 Hi! I see this is a draft PR.
I'll wait to assign reviewers until you mark it as ready for review.
Just convert it out of draft status when you're ready for review!

// not support JIT channels in combination with trampoline. We're not at risk of
// double-reporting a skimmed fee when we have multiple next_htlcs because we
// expect our skimmed fee to be zero.
if skimmed_fee_msat.is_some() {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems good enough for now, but will consider further changes to PaymentForwarded in LDK to possibly make this mapping a bit cleaner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants